TCP/IP services. How does the networking system work?
6.3. Low level access
Low level access refers to functions that talk directly with the RTL8019AS chip.
All low level networking functions are in mac.c.
Note: Care must be taken when changing the code here since much depends on timing.
Low level multitasking functions are in macmulti.c.
6.4. Higher level access
High level access functions are located in several source files.
ARP packets are processed in arp.c and arptsk.c
ICMP packets are processed in icmp.c
IP packets are processed in ip.c
DHCP packets are processed in dhcp.c
UDP packets are processed in udp.c
TCP packets received are processed in tcprcv.c
TCP packets transmitted are processed in tcpxmit.c
TCP packet timeout calculations are performed in tcpmulti.c
TCP common functions are in tcp.c
NTP packets are processed in ntp.c. NTP Synchronization is performed in timesync.c
telnet packets are processed in telnet.c
http packets are processed in http.c
6.5. Network servers
The system, as provided, comes with two network servers.
One is telnet and the other is HTTP(web server).
Read the sections below on server implementation details.
6.6. Network clients
The system, as provided, comes with two network clients.
One is NTP and the other is DHCP. These two clients are both UDP based.
Currently, there are no TCP based clients defined.
However, in the future, SMTP and SNMP are the types of clients that will be provided.